package org.lanqiao.webfm.service;

import java.sql.SQLException;

import javacommon.base.BaseService;
import javacommon.base.EntityDao;

import org.lanqiao.webfm.dao.RightsUserDao;
import org.lanqiao.webfm.model.RightsUser;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class RightsUserService extends BaseService<RightsUser> {
	private static final Logger LOGGER = LoggerFactory.getLogger(RightsUserService.class);
	private RightsUserService(){}
	private static RightsUserService instance = new RightsUserService();
	public static RightsUserService getInstance(){
		return instance;
	}
	
	private EntityDao<RightsUser> dao = RightsUserDao.getInstance();
	@Override
	protected EntityDao<RightsUser> getEntityDao() {
		return dao;
	}
	public void removeByIds(String[] ids) throws SQLException {
		dao.deleteByIds(ids);
	}
}
